﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="list.aspx.cs" Inherits="admin_type_list" %>

<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <title>频道列表</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="http://cdnjs.bootcss.com/ajax/libs/twitter-bootstrap/2.3.1/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <script src="http://code.jquery.com/jquery-1.7.2.min.js" type="text/javascript"></script>
        <script src="http://cdnjs.bootcss.com/ajax/libs/twitter-bootstrap/2.3.1/js/bootstrap.min.js" type="text/javascript"></script>
    </head>
    <body>
        <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="alert">类别列表</div>
                <form id="Form1" runat="server">
                        <asp:DropDownList ID="ddlType" runat="server" AutoPostBack="True" 
                            onselectedindexchanged="ddlType_SelectedIndexChanged" ></asp:DropDownList>
                </form>
                
                <table class="table table-bordered table-hover">
                    <thead>
                        <tr>
                            <th>名称</th>
                            <%--<th>编码</th>--%>
                            <th>排序值</th>
                        </tr>
                    </thead>
                    <asp:Repeater runat="server" ID="rpt">
                        <ItemTemplate>
                            <tr>
                                <td><a href='edit.aspx?id=<%# Eval("ID") %>'><%# Eval("Name") %></a></td>
                                <%--<td><%# Eval("Code")%></td>--%>
                                <td><%# Eval("OrderID") %></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>  

                </div>
            </div>
        </div>
        
    </body>
</html>
